import Vue from 'vue'
import Vuex from 'vuex'
import { stat } from 'fs';
Vue.use(Vuex);

const state = {
    lastSelected: 0
}
const mutations = {
    initLastSelected(state,value){
        state.lastSelected = value;
    }
}

export default new Vuex.Store({
    state,
    mutations
})